table! {
    t_user(id) {
        id -> Int4,
        username -> Varchar,
        email -> Varchar,
        password -> Varchar,
        login_session -> Varchar,
    }
}

table! {
    t_people(id) {
        id -> Int4,
        name -> Varchar,
        gender -> Bool,
        age -> Int4,
        address -> Varchar,
        phone -> Varchar,
        email -> Varchar,
    }
}

table! {
    t_login_history(id) {
        id -> Int4,
        user_id -> Int4,
        login_timestamp -> Timestamptz,
    }
}

joinable!(t_login_history -> t_user(user_id));

allow_tables_to_appear_in_same_query! (
    t_login_history,
    t_people,
    t_user,
);